The Shortest Path Problem with Edge Information Reuse is NP-Complete

نویسنده

  • Jesper Larsson Träff
چکیده

We show that the following variation of the single-source shortest path problem is NP-complete. Let a weighted, directed, acyclic graph G = (V, E, w) with source and sink vertices s and t be given. Let in addition a mapping f on E be given that associate information with the edges (e.g., a pointer), such that f (e) = f (e ′) means that edges e and e ′ carry the same information; for such edges it is required that w(e) = w(e ′). The length of a simple st path U is the sum of the weights of the edges on U but edges with f (e) = f (e ′) are counted only once. The problem is to determine a shortest such st path. We call this problem the edge information reuse shortest path problem. It is NP-complete by reduction from PARTITION. A weighted, directed, acyclic graph G = (V, E, w) with source and sink vertices s, t ∈ V is given. Edges represent some possible substructures and a path from s to t determines how substructures are put together to form a desired superstructure. Edge weights reflect the cost of the associated substructures (e.g., memory consumption). An ordinary shortest path determines an ordered, tree-like representation of the superstructure of least cost: a single root with children given by the edges of the path. Now, different edges in G may represent similar substructures, and if several such edges occur on a path, the cost of the substructure need be paid only once. We want to find a shortest such path from s to t where the weight of edges with similar information is counted only once. There may easily be such a path of less cost than an ordinary shortest path in G. In that case, a more cost-efficient representation of the desired superstructure is by a compressed tree where several children are represented by the same substructure. We model this problem by associating information with the edges in the form of a function f on E that may for instance be a pointer to the substructure represented by the edge. Two edges e, e ′ ∈ E carry the same information and are similar in that respect if f (e) = f (e ′). For the optimization problem to be well-defined, it is required that edges with f (e) = f (e ′) have the same …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Two optimal algorithms for finding bi-directional shortest path design problem in a block layout

In this paper, Shortest Path Design Problem (SPDP) in which the path is incident to all cells is considered. The bi-directional path is one of the known types of configuration of networks for Automated Guided Vehi-cles (AGV).To solve this problem, two algorithms are developed. For each algorithm an Integer Linear Pro-gramming (ILP) is determined. The objective functions of both algorithms are t...

متن کامل

Note on the complexity of deciding the rainbow connectedness for bipartite graphs

A path in an edge-colored graph is said to be a rainbow path if no two edges on the path have the same color. An edge-colored graph is (strongly) rainbow connected if there exists a rainbow (geodesic) path between every pair of vertices. The (strong) rainbow connection number of G, denoted by (scr(G), respectively) rc(G), is the smallest number of colors that are needed in order to make G (stro...

متن کامل

Approximation Solutions for Time-Varying Shortest Path Problem

Abstract. Time-varying network optimization problems have tradition-ally been solved by specialized algorithms. These algorithms have NP-complement time complexity. This paper considers the time-varying short-est path problem, in which can be optimally solved in O(T(m + n)) time,where T is a given integer. For this problem with arbitrary waiting times,we propose an approximation algorithm, whic...

متن کامل

Pairwise edge disjoint shortest paths in the n-cube

Complexity issues intrinsic to certain fundamental data dissemination problems in high-performance network topologies are discussed. In particular, we study the p-pairwise edge disjoint shortest paths problem.An efficient algorithm for the case when every source point is at a distance at most two from its target is presented and for pairs at a distance at most three we show that the problem is ...

متن کامل

On Orientations and Shortest Paths

An orientation of an undirected graph is a choice of direction for each of its edges. An orientation is called ideal with respect to a given set of pairs of vertices if it does not increase the shortest-path distances between the members of any of the pairs. A polynomial-time algorithm is given for constructing an ideal orientation with respect to two given pairs and any positive edge-lengths, ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1509.05637  شماره 

صفحات  -

تاریخ انتشار 2015